package com.example.mybatisplus.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping("console")
    public String console(){
        return "views/home/console";
    }
    @RequestMapping("homepage1")
    public String homepage1(){
        return "views/home/homepage1";
    }
    @RequestMapping("homepage2")
    public String homepage2(){
        return "views/home/homepage2";
    }
    @RequestMapping("/")
    public String index(){
        return "login";
    }

    @RequestMapping("index")
    public String login(){
        return "index";
    }
    @RequestMapping("auto")
    public String auto(){
        return "views/component/table/auto";
    }
    @RequestMapping("upload/demo1")
    public String upload(){
        return "views/component/upload/demo1";
    }


    @RequestMapping("userList")
    public String userList(){
        return "pages/user/list";
    }

    @RequestMapping("batchList")
    public String batchList(){
        return "pages/user/batchList";
    }
}
